<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>CRB Platform - Adam</title>

<script src="<?php echo $this->baseUrl("stuff/jquery/jquery.js");?>"></script>
<!--<script src="<?php echo $this->baseUrl("stuff/ui/js/jquery-ui-1.8.6.custom.min.js");?>"></script>-->
<script src="<?php echo $this->baseUrl("stuff/ui/js/jquery-ui-1.8.7.custom.min.js");?>"></script>
<link rel="stylesheet" href="<? echo $this->baseUrl("stuff/ui/css/1.8.7/jquery-ui-1.8.7.custom.css") ?>"  type="text/css" />

<link rel="stylesheet" href="<? echo $this->baseUrl("admin_theme/css/admin.css") ?>"  type="text/css" />
<script src="<?php echo $this->baseUrl("admin_theme/scripts/admin.js");?>"></script>
<script src="<?php echo $this->baseUrl("stuff/jquery/block.ui.js");?>"></script>
<script src="<?php echo $this->baseUrl("admin_theme/scripts/glow.js");?>"></script>


<!-- Tipsy hints -->
<script src="<?php echo $this->baseUrl('stuff/tipsy/jquery.tipsy.js') ?>" ></script>
<link rel="stylesheet" href="<?php echo $this->baseUrl('stuff/tipsy/tipsy.css') ?>" type="text/css" media="all" />



<!--<link type="text/css" rel="stylesheet" href="<?php echo $this->baseUrl("admin_theme/jquery-ui-1.8.7.custom.css") ?>" />-->
<link type="text/css" rel="stylesheet" href="<?php echo $this->baseUrl("admin_theme/slider.css") ?>" />
<link type="text/css" rel="stylesheet" href="<?php echo $this->baseUrl("admin_theme/screen_035.css") ?>" />

<!--<link type="text/css" rel="stylesheet" media="screen" href="<?php echo $this->baseUrl("admin_theme/style.css");?>" />-->

<!--<link type="text/css" rel="stylesheet" media="screen" href="<?php echo $this->baseUrl("admin_theme/css/admin.css");?>" />-->


<script type="text/javascript" src="<?php echo $this->baseUrl("stuff/fancybox/jquery.mousewheel-3.0.4.pack.js") ?>"></script>
<script type="text/javascript" src="<?php echo $this->baseUrl("stuff/fancybox/jquery.fancybox-1.3.4.pack.js") ?>"></script>
<link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl("stuff/fancybox/jquery.fancybox-1.3.4.css") ?>" media="screen" />



<script>
function url(address)
{
var BASE_URL = "<?=$this->baseUrl('') ?>";
return BASE_URL + address;
}


function goto(address)
{
	window.location.href=address;
}

function blockUI(messageParam)
{
	  $.blockUI({ css: { 
          border: 'none', 
          padding: '15px', 
          backgroundColor: '#000', 
          '-webkit-border-radius': '10px', 
          '-moz-border-radius': '10px', 
          opacity: .5, 
          color: '#fff'
      }, message: '<h1 style="border:none; color: #aaaaaa">' + messageParam + '</h1>' }); 
}


function unBlockUI()
{
	  $.unblockUI(); 
}


$(function() {

	$(".button").button();
	
	$("a.fancy").fancybox({
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	false
	});
	
});

</script>
<?php 
echo $this->headLink();
echo $this->headScript();
echo $this->headStyle();
?> 


<style type="">
input.ui-button {
    padding: 4px 1px;
	font-weight: bold;
}

#cke_bottom_detail, .cke_bottom
{
	display:none;
}

span.cke_skin_kama
{
	padding: 1px;
}

.invivo
{
	background: none;
	border: none;
	font-weight: bold;
}


.glowBox{
    -moz-border-radius: 5px 5px 5px 5px;
    -moz-box-shadow: 1px 1px 10px #2F3B4A;
    background-color: #FFFFFF;
    background-repeat: repeat-x;
    border: 1px solid #79A8E7;
    z-index: 50;
padding: 10px;
}

.fieldTitle
{
	color: #777777;
	font-weight: bold;
	display: block;
}
</style>
<script>

addGlowing(".invivo");



jQuery(function($){
$.datepicker.regional['ru'] = {
        clearText: 'Очистить', clearStatus: '',
        closeText: 'Закрыть', closeStatus: '',
        prevText: '&#x3c;Пред',  prevStatus: '',
        prevBigText: '&#x3c;&#x3c;', prevBigStatus: '',
        nextText: 'След&#x3e;', nextStatus: '',
        nextBigText: '&#x3e;&#x3e;', nextBigStatus: '',
        currentText: 'Сегодня', currentStatus: '',
        monthNames: ['Январь','Февраль','Март','Апрель','Май','Июнь',
        'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'],
        monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн',
        'Июл','Авг','Сен','Окт','Ноя','Дек'],
        monthStatus: '', yearStatus: '',
        weekHeader: 'Не', weekStatus: '',
        dayNames: ['воскресенье','понедельник','вторник','среда','четверг','пятница','суббота'],
        dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'],
        dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'],
        dayStatus: 'DD', dateStatus: 'D, M d',
        dateFormat: 'yy-mm-dd', firstDay: 1,
        initStatus: '', isRTL: false,
        showMonthAfterYear: false, yearSuffix: ''};
    $.datepicker.setDefaults($.datepicker.regional['ru']);
});
</script> 
</head>



<body id="view-search">


					<!--
						PAGER 
						<div style="float: right;" id="toppagesel">
						<div class="pageslist">
						<a class="next" href="#">Next »</a>
							<a href="#">2</a>
							<a href="#">5</a>
							<span class="selected"><b>1</b></span>
							<span class="disabled">« Previous</span>
						</div>
						</div>
						-->




<div id="header">

<div id="searcharea" style="text-align: left;">
<a href="<?=$this->baseUrl('admin')?>"><h2 style="display: block;float: left;">CRB Panel - Adam</h2></a>
<h4 style="float: left;margin-top: 3px;margin-left: 33px"><?= $this->Title  ?></h4>
</div>

</div>

<div id="login">
<ul>
<li><a href="<?= $this->baseUrl("auth/logout")?>">Выход</a></li>
<li><a href="#" onclick='var isHidden = jQuery("#menu-content").is(":hidden");jQuery("#menu-content")[ isHidden ? "fadeIn" : "fadeOut" ]( 600 );'>Меню</a></li>
<li><a href="<?= $this->baseUrl("")?>" target="_blank" >Главная</a></li>	
</ul>

</div>

 
    <div id="smallmenu" >
    <div id="menu-content">
    <ul>
		<li><a href="<?php echo $this->baseUrl('structure')?>" >Меню</a></li>
		<li><a href="<?php echo $this->baseUrl('articles')?>" >Редактор объектов</a></li>
		<li><a href="<?php echo $this->baseUrl('news/list')?>" >Новости</a></li>
		<li><a href="<?php echo $this->baseUrl('order/admin')?>" >Заявки</a></li>
		<li><a href="<?php echo $this->baseUrl('guest-book/list')?>" >Отзывы</a></li>
		<li><a href="<?php echo $this->baseUrl('price/edit')?>"  >Загрузка прайса</a></li>
		<li><a href="<?php echo $this->baseUrl('gallery/listedit')?>" style="color: red;" >Пользователи + роли</a></li>
		<li><a href="<?php echo $this->baseUrl('gallery/listedit')?>" >Фотогаллерея</a></li>
		<li><a href="<?php echo $this->baseUrl('auth/logout')?>" >Выход</a></li>
    </ul>
    </div>
    </div>
 

<table>
	<tbody>
		<tr>
			<td>
			
			
			
			<div id="settings">
			<div id="settings-inner">
			<table class="settingsgrid">
				<tbody>
					<tr>
						<td>
						<div id="toolbar" style="height: 30px;padding: 20px 30px;"><?php echo $this->placeholder('toolBar') ?></div>
						</td>
					</tr>
				</tbody>
			</table>
			</div>
			</div>


			<table id="searchtable" >
				<tbody>
					<tr>
						<td>
						<div style="padding: 15px  25px;">
						<?php echo $this->layout()->content;?>
						</div>
						</td>
					</tr>
				</tbody>
			</table>
			</td>
		</tr>
	</tbody>
</table>
<div id="footer">
<br /><span><b><a href="http://levio-it.net">CRB Platform (Adam)</a> Levio 2011</b></span>

</div>
<div id="tiptip_holder" style="max-width: 200px;"><div id="tiptip_arrow"><div id="tiptip_arrow_inner"></div></div><div id="tiptip_content"></div></div>
</body></html>